package com.fucking.great.context.exception;

import cn.hutool.core.util.StrUtil;

/**
 * 开发 编码 异常
 */
public class DevelopmentEncodedException extends TxnRuntimeException{

    public static final String DEVELOPMENT_ENCODED_EXCEPTION = "DEVELOPMENT_ENCODED_EXCEPTION";

    /**
     * 开发 编码 异常
     * StrUtil.format("aaa",[]);
     * @param message
     * @param params
     */
    public DevelopmentEncodedException(String message, Object ... params) {
        super(DEVELOPMENT_ENCODED_EXCEPTION, StrUtil.format(message,params));
    }
}
